package com.woniu.park.controller.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
@Data
public class ParkspaceForm {
    /**
     * 小区车位号
     */
    @NotEmpty
    private String parkspaceNum;

    /**
     * 车位具体地址
     */
    @NotEmpty
    private String parkspaceAddress;

    /**
     * 授权信息
     */
    @NotEmpty
    private String parkspacePerm;
    /**
     * 出租价格/一小时内
     */
    @NotNull
    private Double parkspacePriceHour;

    /**
     * 出租价格/一小时外
     */
    @NotNull
    private Double parkspacePriceOther;


    private Integer parkspaceId;
    private int userId;
    private int stoppingTime;//预约停车时间
    private int couponId;//优惠券表ID
    private Integer parkId;
    private Integer hours;
    private String parkspaceLati;
    private String parkspaceLong;
}
